Another verbose solution to an euler project problem
An easier problem, but I feel the solution is relatively clean