Create three-way-partition.rb