Roblox interview question

Graph searches in 2D array.