Added Problem 1 solution