A solution to problem one on projecteuler.net/problems