Add strtok funcion in sting class

and fix a bug in strcpy function