chapter7 bintree