Solutions to project Euler questions