added ex15.rb and ex15_sample.txt