coding for project euler, using python