Update list.c

add list_set, list_rset and list_remove