[New] basic function for building expression tree (not yet implemented)