modify entire postfix function to return list in postfix notation with value and type of token