Python solutions for project euler problems