Improve efficiency by changing DependencyGraph implementation from a generic-typed hash of sets to a boolean char-> char matrix