Text Analyzer from "Beginning Ruby: From Novice to Professional" by Peter Cooper