Modify some file

1. kmp errors
2. string instructions
3. graph optimization