euler problems in python