Relearning C and implementing a card game at the same time