Some codes for solving puzzles on projecteuler.net