Implemented ShuntingYardAlgorithm and neccessary utilities.