Changed for..in looping construct to each construct in p1.rb
Complete p3 of hw0, and add problem statements at the start of each file