Added Array Visited Detection

Tried to make the array recognition work