I have a list of sequences like: seq = [(1,2,3,4) , (1,2,4,3) (1,3,2,4) (1,3,4,2)] etc..
seq = [(1,2,3,4) , (1,2,4,3) (1,3,2,4) (1,3,4,2)]
And another list that contains tuples (index , value) of indexes