added reset when match is found. to go back to the beginning of word bank.