deleting the node at specified position