implemented Map functions insert, delete, adjust using Map's alter
function