1) override hashCode() method in Sentence class. 2) added a helper wrapupMarkupGetPattern() and test cases. 3) added a small part of wrapupMarkup().