CS 146: Homework due 4/17

Problems from our textbook: