finished string2 exercise and list1 exercise