solved problems from projecteuler.net in python