Add Algorithm to convert between DDL and BST