Routines to help find Motifs