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 dog wearing a wooden tie sitting in its masters lap'. Reverse all words of length '1' in the given sentence.

SOLUTION: a dog wearing a wooden tie sitting in its masters lap

PROBLEM: Sentence: 'a girl in a wig holding a tennis racket'. Reverse all words of length '3' in the given sentence.

SOLUTION: a girl in a giw holding a tennis racket

PROBLEM: Sentence: 'there is a woman wearing scrubs walking down the street'. Reverse all words of length '4' in the given sentence.

SOLUTION:
there is a woman wearing scrubs walking nwod the street