Updated to function tree and added pre-, in- and postfix notation