tests addWordDiagonal1 and flip