Refactor queue to be extended with cascading comparators
Introduce double-factor queue generator
Update tests
Task no. 4 primary and secondary factors
Update abstact class implementation