added implementation of reverse polish calculator