Contruct binary tree