Added function flatten_with_extends
Added example for flatten_with_extends
Added examples for additional functions