Full functionality implemented

Visitor classes and tree structure complete.