Algorithm Of Binary Search Tree In Python