title: Creat a main method to a quickSort class
body: <p>This is my code so far. I need help to implement a main method that reads and sorts the supplied test files(unsorted1.txt and unsorted2.txt)</p>
  
  <pre><code>public class quickSort extends DLList  {    
   public static &lt;E extends Comparable &lt;? super E&gt;&gt; void quickSort(DLList&lt;E&gt; element){
      sort(element, 0, element.size() - 1); 
   }
  
   public static &lt;E extends Comparable &lt;? super E&gt;&gt; void sort(DLList&lt;E&gt; element, int l, int r) {
      int i = l;
      int j = r;
      E pivot = element.get((l + r) / 2), w;
      do {
          while (element.get(i).compareTo(pivot)&lt; 0){ 
              ++i;
          }
          while (element.get(j).compareTo(pivot)&gt; 0){ 
              --j;
          }
          while (i &lt;= j) {
              w = element.get(i);
              element.set(i, element.get(j));
              element.set(j, w);
              ++i;
              --j;
          }
      } while (i &lt;= j);
  
      if (l &lt; j) {
          sort(element, l, j);
      }
  
      if (i &lt; r) {
          sort(element, i, r);
      }
  }
  
      public static void main(String[] args){
  
      }
  </code></pre>
  
  <hr>
  
  <p>My quicksort implementation is complete and it is based on a doubly linked list.
  The text files contain a number of unsorted characters. So I have to load all characters and store them in the list.
  And that's what I need help with.</p>