Add serialize and de-serialize binary tree