Python code used to aid in solving Project Euler Questions