Code for my project euler problems