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 toilet and a sink in small bathroom'. Reverse all words of length '2' in the given sentence.

SOLUTION: a toilet and a sink ni small bathroom

PROBLEM: Sentence: 'the view of a bathroom tub shower and toilet'. Reverse all words of length '3' in the given sentence.

SOLUTION: eht view of a bathroom but shower dna toilet

PROBLEM: Sentence: 'a frying pan on a stove top with eggs in it'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a frying pan on a evots top with eggs in it