Project Euler solutions wirtten in python