hierarchical tree use cplusplus stl container of vector and queue. & Implement descending left to right and descending right to left