title: inserting data after certain data (double linklist)
body: <p>Hey, so I wanted to insert one data after the input data (not index).
  I've tried but it always at the end, the data that i want to insert end up at the dront of the link list..</p>
  
  <blockquote>
    <p>**public static void insertAfter(Object o,Object c){</p>
  </blockquote>
  
  <pre><code>    Node newN = new Node();
      Node help = new Node();
      Node help2 = new Node();
      newN.data = o;
      help = head.next;
      if(isEmpty()){
          head = newN;
          newN.next=head;
          newN.prev=head;
      }
      else{
          do{
              help=help.next;
              System.out.println(help);
          }while(help.next!=head || !help.data.equals(c));
          help2 = help.next;
          newN.next = help2;
          help2.prev = newN;
          help.next=newN;
          newN.prev=help;
      }**
  </code></pre>
  
  <p>anyone could help?
  thx a bunch!</p>