updated gitignore file
added ability to read and write to DOT format (in progress - partial functionality)
cleaned code and cleaned up comments