Updated code based on suggestions.
Updated timer code based on suggestions.
Updated code example to be more realistic.
Code reorg
Moved patterns to chapter 7
Updated comments
Updated comments.
Search patterns for the book.