added a node struct and List class for Single Linked list implementation