second task - Zipf law