was parameterized main program for mac OS and minor changes in generating dot file