added sophie's solution
median by merging arrays

removed sophie's solution