Project Euler Q2 Final