find median of two ordered array