Solutions to various problems found on http://projecteuler.net/