added implementation of Map collection, unit-tests and javadoc