compute value of a postfix, testing Stack structure