Added terminal test to minmax tree
extractor main
Resolved conflicts