Adding ex39.rb file