My Solution to Project Euler