Create frequency.pl