Exercise
l
Similar to map, develop the java representation of
reduce.
l
In rex:
reduce(b, u, []) => u;
reduce(b, u, [A | L]) => b(A, reduce(b, u, L));