finish implementation and testing of simple shuntingYard