I need a complete working program implementing Dekker's Algorithm in C++. The program implements Dekker's solution to the mutual exclusion problem in concurrent programming. It should contain as many comments as possible, describing what the code does at each step.