added string exercise 3