public synchronized boolean setItem(FieldItem I, Position pos) {
        if (pos.getX() >= rows || pos.getX() < 0 || pos.getY() <= columns || pos.getY() < 0) {
            return false;
        }
        if (hunt[pos.getX()][pos.getY()] != null) {
            return false;
        }
        int i = 0;
        int j = 0;
        while (i < rows) {
            while (j < columns) {
                if (hunt[i][j] == I) {
                    return false;
                }
                j++;
            }
            i++;
        }
        hunt[pos.getX()][pos.getY()] = I;
        return true;
    }