tree parses and prints. need to work on line numbering