went through example of how hierarchical organization can be used to solve inference problems