completes constructors, toString, addWordH, fillGrid, and addWords methods