added project euler solution to problem 3