I changed deck from an array to an array list because we have to deal with a set of cards changing in length. Also, I made deck an inheritence of set. Set is the general class for a group of cards.