Biological Network motifs in Python