fixed a bug to break a infinite loop
Merge branch 'master' of https://github.com/yinghuzhu/wordsearch