Project Euler solutions
Problem 1:
Problem 2: