My answers to project euler's quest in PHP