loci_tbl function

Creates a loci table.