add diffSam3.py