adding two problems from ProjectEuler