project euler solutions in Python