https://www.geeksforgeeks.org/construct-binary-tree-string-bracket-representation/