Made grid dimensions into contants. Isolated the code to get a list of cells from a row into a separate method in preparation of game finalization condition checks.