little tool for tournament cross-tables
table.size = function(t)
	local result = 0
	for _ in pairs(t) do
		result = result+1
	end
	return result
end