Added remove functions for linked list