My code for solving project euler problems