Project Euler solutions using Python