switch from array to double linked list,set and get functions OK
fixing some bugs
some cleanup
Fixed #1 , fixed #2 , pretty stable