Python code - solutions to Project Euler problems