Ported 4 project euler solutions to Python3 with improvements