TASK DEFINITION: In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.
PROBLEM: Sentence: 'a dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.

SOLUTION: a dog si sleeping no a boat ni the water

PROBLEM: Sentence: 'view of a stove next to a stainless kitchen sink under a window'. Reverse all words of length '7' in the given sentence.

SOLUTION: view of a stove next to a stainless nehctik sink under a window

PROBLEM: Sentence: 'a woman wearing shades and using a cellular phone'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a woman wearing sedahs and using a cellular phone