Added answers to problem 1-4