Checkpoint: Cascade step 3 implemented
Checkpoint: Basic functionality to generate Cascade hierarchy based on steps 1-3. Does not create nested hierarchy.