final commit of writingmethods.rb
created shorter method per assignment