chord_dat function

Creates a binary matrix.