Completed question 4
Completed problem 5