Chapter 4 for Computer Science Class