An implementation of Reverse Poland expression