Solution to the problems from ProjectEuler.net site