completed basic string exercises