Solutions for Project Euler questions in Python