moving the printToDotFile method from the Merger to the LTS Class.