cosets.clj: refactored table-generator; new function for searching a bug in it