Added methods to compare languages, taking inheritance into account
Determine a language match by respecting the inheritance chain