Completed Chapter 7

Added spec tests to drive out the guessing feature, completed the
guessing feature.