Solutions to project euler problems in python