add lib/deck.rb