function roundRobin (n, ps) {
  var k
  var j
  var i
  var rs = [] // rs = round array