Binary tree to double-link list