Added new examples for hierarchical algorithm