update WordSearch.java