LL(1) implemtationo of is_binary_tree.cpp