completed string1 exercise