solutions to some problems in projecteuler.net