Using Nested Set Model to Build Hierarchical Data