#10 implemented map indexing with associated test.