delete functionality

Added delete functionality for doubly lined list