equals bug fixed
updated the code
fixed bug for CDKRMap