I have the following code which builds a binary tree where all nodes are either 0 or 1, so each path from root to leaf is a binary string of a certain length. Initially, my