print rule numbers to parse-tree

*added parse-tree to gitignore
*added file output to parser