Solved some problems from projecteuler.net