Add Pattern Matching Algorithm.
Fix wrong word.