Adding updated code of String Matching