solution to 16.NSString Challenge2