Added isDegenerate() to BSTree