Kavosh: a new algorithm for finding network motifs