Finished implementation of RMQ and LCA. RMQ now correctly inherits from SegTree.