Given a string, reverse each word and keep its relative position.
// input: const s = 'hello world' // output: 'olleh dlrow'
/* output */