Program to print left/right view of the BST