Calculating the Median of Numbers in a more or less elegant way.