Finds the largest n consecutive number product in NxN grid