
/**
 * Write a description of class LLTest here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class LLTest
{
   public static void main(String[] args) {
       IntNode head = null;
       
       System.out.println("Length is: " + IntNode.listLength(head));
       
       head = new IntNode(30, null);
       System.out.println("Length is: " + IntNode.listLength(head));
       head = new IntNode(20, head);
       System.out.println("Length is: " + IntNode.listLength(head));
       head = new IntNode(10, head);
       System.out.println("Length is: " + IntNode.listLength(head));
       
       
       IntNode returnedNode;
       
       returnedNode = IntNode.listSearch(head, 20);
       System.out.println();
       IntNode.printList(returnedNode);
       
    }
}
