Solutions to problems as they appear on http://projecteuler.net/