Simple python script for frequency analysis.