Update ograph.cpp

Compaction bug correction, output now equivalent to minigraph