A pattern searching function that uses Bad Character Heuristic of Boyer Moore Algorithm
static void search ( char [ ] txt , char [ ] pat ) { int m = pat . Length ; int n = txt . Length ; int [ ] badchar = new int [ NO_OF_CHARS ] ;