Python solutions to some Project Euler problems