Extract the functions of string handling add new files named string.h and string.c