Scala implementation of Swiss tournament pairing systems