Ubule length cannot be generated then add to storage and re-generate
Ubule length cannot be generated then add to storage and re-generate the microtubule. if repeating 100 times still does not generate a microtubule of desired length then return declare ``input…