BFS: Fix not checking already visited states
Abstract map data