testing calculation

tested to see if numCardsWidth worked correctly