Removing debugging code.
Added dot-to-png conversion to test.cpp
Added documentation