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 wooden bench sits on top of a grass hill'. Reverse all words of length '2' in the given sentence.

SOLUTION: a wooden bench sits no top fo a grass hill

PROBLEM: Sentence: 'a male cow walking down a street with shanties'. Reverse all words of length '7' in the given sentence.

SOLUTION: a male cow gniklaw down a street with shanties

PROBLEM: Sentence: 'a purple motorcycle sits next to a blue motorcycle'. Reverse all words of length '10' in the given sentence.

SOLUTION:
a purple elcycrotom sits next to a blue elcycrotom