Solutions to some problems from Project Euler