Module for converting infix notation to rpn