Added cardValueLogic, mvoed from printCardOut