create INputPanelClass and BinaryTreeClass.