func ExitOnError(err error)
ExitOnError prints an error and exits the application
func Sum(values map[int32]int64) int64
Sum calculates the sum of all values in a map