seq_amatch function

Approximate matching for integer sequences.