Improved String Output

The syntax tree outputs a better-formatted string representation of
itself.
The test program has a nicer interface and outputs that string to a text
file.