sequence matcher working