Solutions for ProjectEuler problems