Add comments for compareMap.py.:
modularise python script.