Committed PatternFinder.java

This class will return the highest pattern for a given string.