project euler solution 1.