brute-force?

use a 2d-array, write some lines of code which check every possible direction (shouldn't be too hard if it's a recursive function) and iterate through the whole array.


POTATO-MAN saves the day! - Random