Made addWordVertical and addWordDiagonal.