update Search_a_2D_Matrix using BST template