Project Euler code solutions.