updated Homework-week1a.rb