pub fn to_coord_map( hash: HashMap<i32, HashMap<i32, bool>>, coords: Vec<Coord>, ) -> HashMap<i32, HashMap<i32, bool>>