The essential part of this structure is just a binary tree, so take each part one step at a time.