Project Euler problems, implemented in python