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: 'giraffes are standing in the grass near water and trees'. Reverse all words of length '4' in the given sentence.

SOLUTION: giraffes are standing in the grass raen water and trees

PROBLEM: Sentence: 'a banana laying near the water with light reflecting on it'. Reverse all words of length '1' in the given sentence.

SOLUTION: a banana laying near the water with light reflecting on it

PROBLEM: Sentence: 'two cats laying on the comforter of a bed'. Reverse all words of length '2' in the given sentence.

SOLUTION:
two cats laying no the comforter fo a bed