Updated ddg generation logic - we now add an edge at the end of each read,
pointing to the most recently written mod.