Added the patently inefficient 'random_word' function to randomly select a word from the book.
Completed Exercise 13.7. Write a program to implement algorithm specified on page 130.