private List<Cell> getNeighbours(Cell cell) {
        List<Cell> neighbours = new ArrayList<>();

        int x = cell.getX();
        int y = cell.getY();

        for (int i = x - 1; i < x + 2; i++) {
            if (i < 0 || i >= 100) { // outside "farm"
                continue;
            }
            for (int j = y - 1; j < y + 2; j++) {
                if (j < 0 || j >= 100) { // outside "farm" (vertically)
                    continue;
                }
                Cell naapuri = this.solut.get(i * 100 + j);
                if (!naapuri.equals(cell) && naapuri.isPopulated()) {
                    neighbours.add(naapuri);
                }
            }
        }
        //if (cell.isPopulated()){
        //    neighbours.remove(cell);
        //}

        return neighbours;
    }