adding paircorr.py file, first commit