add comparing the medians of two arrays method