Working through Project Euler exercises.