Create WordGrid.java

copy and paste from website