Converts mathematical expressions from infix to postfix
Perform Push, Pop, and Peek operations using a Stack.