add list.c and list_withou_head.c,modified gitignore