Exercise 4 - Project Euler - Working Solution - Trial 2