Module for merging hierarchies using the C3 algorithm
