Implement the basic function of the Clist

Test in the linux g++