modified used the suitable identifier for the variables
Made 2 changes to optimize the match results: 1. use a loop to find the next digit of wordbank element and compare with outStr's digit 2. this part need to be optimize with the calculation of the number of occurance of word's probabilities
some changes is made to optimize the function
optimized the indentation for the if statement in line 18