add solutions. add list.h and tree.h