Readd chapter 3

This doesn't take into account that arrays are zero based. This program outputs betty, barney, wilma, barney when given 1, 2, 4, 2 but should give fred, betty, dino, betty