convert postfix to lib/header, comments

changed postfix function to its own .c and .h to be included in main.
commented postfix.