Solutions for projecteuler.net's problems