Task 3. Done.
Fix: rewritten Comparator -> compare()