Implemented a basic map.