Quantile Implementation using different approaches