added part1.rb