Fixed bug in infix to postfix exercise, and did a little bit of refactoring.