Completed the Ch. 4 exercises