Iterate over an Array received on the input, giving the next element only after it receives a feedback