The Hungarian algorithm

C1 C2 C3 C4
R1
R2
R3
Step: init   |   Iteration: 0