Solutions to project euler.