adding the method for deleteNode in CLL