Large commit. Implemented several of the Symbol methods, changed if's to
if-elif list, removed loop from nextToken, implemented hasNext(),
implemented output to txt file, cleaned up formatting.