working through euler problems in python.