Solutions to some Project Euler questions