Solution of problem 8 - largest product in a series