add solution for problem "reverse word in a string"