My attempt to do project euler.