added task 7 with string1 and string2