implemented Map based on the interface of java.util.Map