public void addFirst(String seq){
  queue=seq + queue.substring(pos);
  pos=0;
}

public void addFirst ( String seq ) { queue = seq + queue . substring ( pos ) ; pos = 0 ; }
add a string to the start of the queue .
