Solutions to a bunch of project euler problems