howMedianOfArray has been solved