Doing some Project euler practice as usual.