Updated: addAll method to take only element values and overrided it in Map class for key and value
Fixes: using late static binding in abstract class for methods .being overrided in child