seq_sim function

Compute similarity scores between sequences of integers