public Integer[] getLineSurvivalMove(Integer[] move, String type, int i, 
                                         String line) {
        int j;
        if(checkLineNeedSurvival(line)) {
            j = line.indexOf(" ");
        } else {
            return move;
        }
        
        if(type.equals("row")) {
            move[0] = i; move[1] = j;
        } else if(type.equals("column")) {
            move[0] = j; move[1] = i;
        } else if(type.equals("diagonal")) {
            move[0] = j; move[1] = j;
        } else if(type.equals("inverse")) {
            int count = line.length();
            i = (((-(j + 1) % count) + count) % count);
            move[0] = j; move[1] = i;
        }
        return move;
    }