Added problem 4
Problem 4 done.