python command line correlation program