my attempt to solve all of the ProjectEuler.net problems