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: 'there is a bathroom with a oven and a refg'. Reverse all words of length '2' in the given sentence.

SOLUTION: there si a bathroom with a oven and a refg

PROBLEM: Sentence: 'a plate wit some very tasty looking treats'. Reverse all words of length '6' in the given sentence.

SOLUTION: a plate wit some very tasty looking staert

PROBLEM: Sentence: 'a boy hitting a baseball during a machine pitched game'. Reverse all words of length '3' in the given sentence.

SOLUTION:
a yob hitting a baseball during a machine pitched game