Added examples for setpop
added examples for hierarchy.