added exercise 4 to repo