created linked list class and test cases