Solutions and tests for problems from projecteuler.net