Crappy program to convert infix/postfix/prefix strings to their counterparts