Simple Java calculator with basic functions to test implementing Dijkstra's Shunting-yard algorithm