Binary Tree Path Simulator (Depth 9)

Simulate random paths through a binary tree. Each simulation ends at a position from 1 to 512.