Blackjack for a class written in C