add median of two sort array