We have two ways to solve this, the first way being, check every string starting from 0 length it
it is generaged by the regular expression or not.
But if we observe the regular expression carefully, r is actually broken into two parts.
= (Exactly 1 pair of consecutive zeroes)+(No pair of consecutive zeroes)
= (At most 1 pair of consecutive zeroes)
So if we can recognize the language, we already know that the shortest string not generated will be the shortest string having more than one pair of consecutive 0's and it is none other than 000. So the length will be equal to 3.