Gusto Interview Question

implement reduce() implement a way to divide deposits across accounts both in ruby