infix to post fix for functions