added indent method for prettyprint formatting similar to ProbModelXML