project euler solutions in python