Chapter 6 for Computer Science Class