ex1001.rb, ex1002.rb added