public static void progress(String process, int i, int N){
    
    double k=0;
    
    System.out.printf("\r");
    String outputString;
    
    outputString = "\t";
    for(k=0; k<=(double)i; k+=(double)N/50){
      
      outputString+="█";
      
    }
    while(k<=N){
      
      outputString+="-";
      k+=(double)N/50;
    }
    System.out.printf("%20s "+outputString+" %d%%", process, (int)(100*((double)i/(double)N)));
    
    
  }