Added more code for finding median in two sorted array of equal size