Add scenarios testing for unordered releases.
Move d2.cpp to main.cpp.
Add scenarios from the powerpoint of the authors of the algorithm.