TopCoder SRM 602
add assertion to detect bad usage of insert and erase in avl tree