singly linked list
separate class with main method