Replace "value" by "val"
Add new functions
Create functions for doubly linked list