Project Euler 2 completed