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 black cow stands alone in a grassy field'. Reverse all words of length '3' in the given sentence.

SOLUTION: a black woc stands alone in a grassy field

PROBLEM: Sentence: 'some strawberries on a thing of food on a table'. Reverse all words of length '5' in the given sentence.

SOLUTION: some strawberries on a gniht of food on a elbat

PROBLEM: Sentence: 'a pitcher winds up in preparation to throw a pitch'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a pitcher winds pu ni preparation ot throw a pitch