Resolve issue#3: Add function median()