replace triple class by std::tuple
It should be noop change, as it seems project's tuple/triple implementation does lexicographical comparison which is no different to std::tuple. As a bonus this eliminates one TODO in the code!
Edited by Andrei Shamshur