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: 'several people on a large court playing tennis'. Reverse all words of length '1' in the given sentence.

SOLUTION: several people on a large court playing tennis

PROBLEM: Sentence: 'a heard of animals in a field approaching the water'. Reverse all words of length '11' in the given sentence.

SOLUTION: a heard of animals in a field gnihcaorppa the water

PROBLEM: Sentence: 'the polar bear is chewing on his icy treat'. Reverse all words of length '4' in the given sentence.

SOLUTION:
the polar raeb is chewing on his icy treat