Create square-root-midpoint.rb