Gravar-mail: Biological network motif detection: principles and practice