Updated WordSearch.java