Solutions to ProjectEuler questions