add substring method

add substring method to String class

example: basic_string substr (size_type __pos=0, size_type __n=npos) const