printing tokens from linked list