Solutions to project Euler