Add sync.RWMutex to Digraph and AdjacencyList types, to allow for concurrent use