Documentation and implementation of closed set for A* search!