Tidy up first 5 project euler exercises