add solution for balanced bst and utility funtions for deserialization/searialization for tree.