Commit for Class 3 Exercise 2 and 3