added hw3.rb