erase still broken, but fixed an earlier function that was important

interpretDatAsGraphAsAdjacencyList was a little borked