code: function getAllowedMovesFromArrays(arrMoves) {
      return arrMoves.reduce(function (moves, a) {
          return moves.concat(getAllowedMovesFromArray(a));
      }, []);
  }
docs: Takes an array like:
  
  [
  
  [[fromX, fromY], ...[toX, toY]],
  
  [[fromX, fromY], ...[toX, toY]]
  
  ]
  
  and return IMove[].
  
  Used to create smaller test data.