added new deck class and rspec tests