Time to play Project Euler in python when I'm bored