Added infix to postfix and prefix notations, minor utility functions