Exercise
lSimilar to map, develop the java representation of reduce. 

lIn rex:

reduce(b, u, []) => u;
reduce(b, u, [A | L]) => b(A, reduce(b, u, L));