LL1.cpp
void LL1::add(int x){
	Node *p = new Node; //temporary node
	// Assign appropriate values to the new node
	p -> data = x;
	p -> next = head;
	// Make the head point to the new node
	head = p;	
	size++;
}
// Adds a node to the start of the list, making it the new head

Adds a node to the start of the list, making it the new head
Adds a node to the start of the list making it the new head
void LL1::add(int x){
	Node *p = new Node; 
	p -> data = x;
	p -> next = head;
	head = p;	
	size++;
}
void LL1 :: add ( int x ) { Node * p = new Node ; p -> data = x ; p -> next = head ; head = p ; size ++ ; }
Adds a node to the start of the list, making it the new head
Adds a node to the start of the list making it the new head
//temporary node
 // Assign appropriate values to the new node
 // Make the head point to the new node
