added my implementation reverse word