added visitor code
Merge pull request #10 from antlr/replicate-python-2-visitor-code

added visitor code