McMahon tournament pairing rules: functional specification