Question:-crossword

I am not able to understand the problem statement. Can someone please explain it.

You need to print all those words in ā€˜nā€™ that can be formed by moving in MxM matrix.
You can move in any direction in the matrix.