find_sequence function

Find a code sequence