Kernel Density Estimation Python Code For Beginners