Brute Force Pattern Matching Program In C