working on map data structure.. (fixed issue with filling grid.. related to search issue)