I feel you. I Wish I came up with a better solution, but this was the quickest and easiest one to implement. FYI: He randomly picks one of the rooms he has discovered but not visited.