starting writing beating.rb and some changes to deck.rb
written structure for next function in beating