Add Median Solution