linkChunks function

Link pattern-matches on contig/genome chunks