updated the strings exercises to pass the mocha tests