finding the median | ScratchStats