created Project Euler solution 1