Changed card data handling

Changed card.py so that cards no longer print strings but instead
return the values in question.