Solutions to some of the Project Euler problems