Solutions to problems from project Euler