create dictionary of 4node motifs