Added calculation method using stack & RPN