private static void printLCS(int[][] lcs, char[] x, char[] y, int i, int j) {
        
        
        if(i >0 && j >0 && x[i-1]==y[j-1] ){
            
          printLCS(lcs,x,y,i-1,j-1);
          
         //Prints only if X == Y...
         System.out.print(x[i-1]);
        
        }else if(j>0 && (i==0 || lcs[i][j-1]>=lcs[i-1][j])){
           
           printLCS(lcs,x,y,i,j-1);
           
            
        }else if(i>0 && (j==0 || lcs[i][j-1] <  lcs[i-1][j])){
       
            printLCS(lcs,x,y,i-1,j);
             
            
        } else{ }
        
 }