https://jacoby.github.io/2020/04/20/challenge-57-mostly-binary-trees.html