string #1

This is the function for question 1 of the strings section. And it
works!