Update main.c

add test for communication between set and list.