write test for list.h
add *.bak to .gitignore