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 window with the curtain drawn facing a brick building'. Reverse all words of length '1' in the given sentence.

SOLUTION: a window with the curtain drawn facing a brick building

PROBLEM: Sentence: 'a man that is sitting in a field with a phone'. Reverse all words of length '4' in the given sentence.

SOLUTION: a man taht is sitting in a field htiw a phone

PROBLEM: Sentence: 'one blue toothbrush one orange and one yellow in a glass'. Reverse all words of length '1' in the given sentence.

SOLUTION:
one blue toothbrush one orange and one yellow in a glass