my solutions to http://projecteuler.net/problems, not always pretty but working!