add logic for one card and two cards.

oneCard() is working, twoCard() has some problem.