6-3 Exercise 2 for CSC 2134