Solution for ProjEuler 8