Update paragraphing, working code, and output a balanced tree.