Worked and completed 2nd exercise of strings