DoubleLinkList: implements dlink in C/C++/Java.