In a two-dimensional array, print the indices of the given word. The word can go in any direction, once it is connected (vertical, horizontal, forward and downward only). If the word cannot be found, print 'NONE'.

Signed-off-by: Abhijit Kumar <abhikumar@manh.com>