Project Euler Problem number 1