completed ex4
added assignment text