Fixed up linked list structure in add_token_to_list function