implementation on paper of how to set a binary tree (failed/broken)