euler problem 20, with some nice lambdas and reduces