CCI: maximum subsqure
BST to doubled link list