Create WordGrid.java

base code from website