Naive String Matching AlgorithmSimple method to find all occurrences of a pattern within a text by comparing each character.