Fix a bug in the example
Insert the calculation of the meadian value in a data set
Add a new function to replace the missing value with the meadian of the data set