Finished rudimentary map implementation.