added delete methods to linked list