removeCurrent method in linked list