IPython Tutorial for Zipf's law