compare 2 sequences and get shortest edit scripts