Lots of stuff

Lots of problems attempted. Project euler went down, but have been
checking solutions with
https://code.google.com/p/projecteuler-solutions/wiki/ProjectEulerSolutions