text: function calculateResultsArray (tournament) {
    // TODO: your code goes here
  }
  
  function calculateResultsObject (tournament) {
    // TODO: your code goes here
  }
  
  // Feel free to add additional functions to this file as needed.
  
  // this line is needed to export your functions so they can be used by the test suite
  module.exports = {
    calculateResultsArray: calculateResultsArray,
    calculateResultsObject: calculateResultsObject
  }
  