Comment the Print function.
Add Dot for printing in dot format for graphviz.

Also, handle nil pointers more gracefully.
Don't print unexported struct fields, and handle nil more gracefully.