public Space getNextSpace(Spot current, Direction direction) {

        int row = current.getRow();
        int col = current.getCol();

        switch (direction) {
            case UP: row--; break;
            case DOWN: row++; break;
            case LEFT: col--; break;
            case RIGHT: col++; break;
        }

        if(row < 0 || row >= grid.length ||
                col < 0 || col >= grid[0].length) {
            return null;
        }

        return grid[row][col];
    }