Generates a random number of table topics depending on the number submitted, and the categories chosen.