Create frequency.py