public void squish() {
    // Fill in your solution here.  (Ours is eleven lines long.)
	  SListNode currentNode;
      int count=0;
      currentNode=head;
      while (currentNode.next != null) {
    	  if(nth(count).equals(nth(count+1))){
    		  currentNode.next.next=currentNode.next;
    	  }
        count++;
      }
     // node.next = new SListNode(obj);
    
	  
  }