Added function to generate the distribution curve for the codeforces dataset