Adding the String Matching Algorithm