Update difficultQ

Get median: Add count sort and sampling approach