use chief judge scores in the very rare case of a multi-tie, added tests for that, refactoring of code to make it easier to follow