My code for solving problems from project euler