Refactored code
rewritten whole RPN function
Added variable identification
Added parametrized anonymous functions
Variable can now be function which can be called.