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 living room filled with furniture and windows'. Reverse all words of length '1' in the given sentence.

SOLUTION: a living room filled with furniture and windows

PROBLEM: Sentence: 'a dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.

SOLUTION: a dog si sleeping no a boat ni the water

PROBLEM: Sentence: 'two red lights hanging from poles near a building'. Reverse all words of length '3' in the given sentence.

SOLUTION:
owt der lights hanging from poles near a building