A simple RPN calculator which using a dynamic array