COMPARISON OF BOYER-MOORE AND KNUTH-MORRIS-PRATT ALGORITHMS