Create generalTreeSerialization.cpp