add list.h and main.cpp files