Modified to use RPNInputHandler to make two stacks, one for operations and one for numbers