Euler solution #10 -- woefully slow