Implementing Dijkstra's Two-Stack Algorithm for Expression Evaluation

and cleaning up the io wrapper stuff in the process so that it reads
tokens instead of lines.