To test whether a tree is complete or not (not full)
modified for CompleteOrNot.cpp accordingly