Implemented ok_dlist_remove_head and ok_dlist_remove_tail.