Update main.c

attempt to fix add_token_to_list