Algorithm Answers Chapter 3