Tree Serializaion/Deserial Using DFS