**** test program for CDList class
-----
*initial state
 total num        : 0
 current index    : 0
 current ptr      : <null>
 current 1st ptr  : <null>
 current last ptr : <null>
 content:         : 
-----
-----
*adding...
 total num        : 1
 current index    : 0
 current ptr      : aaa
 current 1st ptr  : aaa
 current last ptr : aaa
 content:         : aaa, 
-----
-----
*adding...
 total num        : 2
 current index    : 1
 current ptr      : baa
 current 1st ptr  : aaa
 current last ptr : baa
 content:         : aaa, baa, 
-----
-----
*adding...
 total num        : 3
 current index    : 2
 current ptr      : caa
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, caa, 
-----
-----
*finished adding
 total num        : 3
 current index    : 2
 current ptr      : caa
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, caa, 
-----
-----
*inserting...
 total num        : 4
 current index    : 2
 current ptr      : bba
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, bba, caa, 
-----
-----
*inserting...
 total num        : 5
 current index    : 2
 current ptr      : bca
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, bca, bba, caa, 
-----
-----
*inserting...
 total num        : 6
 current index    : 2
 current ptr      : bda
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, bda, bca, bba, caa, 
-----
-----
*inserting...
 total num        : 7
 current index    : 2
 current ptr      : bea
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, bea, bda, bca, bba, caa, 
-----
-----
*inserting...
 total num        : 8
 current index    : 2
 current ptr      : bfa
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, bfa, bea, bda, bca, bba, caa, 
-----
-----
*finished inserting
 total num        : 8
 current index    : 2
 current ptr      : bfa
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, bfa, bea, bda, bca, bba, caa, 
-----
search "bfa" ... "bfa"
remove "bfa" ... result code : 0
-----
*after removing
 total num        : 7
 current index    : 1
 current ptr      : baa
 current 1st ptr  : aaa
 current last ptr : caa
 content:         : aaa, baa, bea, bda, bca, bba, caa, 
-----
clear
add again
-----
*clear and add 
 total num        : 1
 current index    : 0
 current ptr      : xyz
 current 1st ptr  : xyz
 current last ptr : xyz
 content:         : xyz, 
-----
-----
*remove 
 total num        : 0
 current index    : 0
 current ptr      : <null>
 current 1st ptr  : <null>
 current last ptr : <null>
 content:         : 
-----
remove result: 0
bye.
