Added ex17.rb
updated ex17.rb
Added ex18.rb
updated ex18.rb