Added hashing to card.

Added deck and deck-test.