Test case output

amritas-imac:JavaPrograms eamritadutta$ java CheckBST
10 
5 15 
7 12 20 
The given BST is a BST
10 
50 15 
7 12 20 
The given BST is not a BST
amritas-imac:JavaPrograms eamritadutta$ clear