second version - based on Revert Polish Notation

added division