Added node class for sorted linked list.