Create write_read.rb