6-3 Exercise 3 for CSC 2134