added class diagram for visitor pattern