Almost fixed Segment Tree's RMQ. Definitly fixed AVL tree, and added some methods to both AVL tree and Binary tree.