Changed Linked List main cpp