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 messy bedroom with items covering the floor'. Reverse all words of length '8' in the given sentence.

SOLUTION: a messy bedroom with items gnirevoc the floor

PROBLEM: Sentence: 'a giraffe standing next to a leafy tree'. Reverse all words of length '1' in the given sentence.

SOLUTION: a giraffe standing next to a leafy tree

PROBLEM: Sentence: 'a man riding a bike in a match and others watching'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a man riding a bike in a match and others watching