Add inverse method to the linked list