Added commented and finished version of cpgcounter.pl