Create median.rb