Updated error in code: p must exceed universe size, not table size