Problem 8 of Euler completed
simplify code
Euler8 blog post