Solutions to various ProjectEuler problems