Add Ruby routines for generating the tournament table.