Map Addition

I added code to implement map functionality.