Checking surrounding indexes of an index in a 2d array

Printable View