added project euler problem 1 code