Added an addWordDiagonal method