Solving Project Euler problems in python to teach myself the language