Finished code for reading tokens and insert into link list. Code crashed on first test