Adding QCCPD.py, new single file version of CPD code