BFS method working with basic tile highlighting