ABS chapter 4

Ready for review.
Both Andrew and I used grep for this, although I don't see anything wrong with your code. FYI.