Code solving the various problems in Project Euler