Solutions to project euler problems in Python