finished Project Euler Problem1