implemented delete function
linked-list -> double-linked-list
working for points