function check = checkRank(player,cards)
% check the rank for each hand_cards.
% the different kinds ranking for hand_cards are (from lowest to highest)
% 1. High card
% 2. One pair
% 3. Two pair
% 4. Three of a kind
% 5. Straight
% 6. Flush
% 7. Full hou
function win = compete(card1,card2,type)
% this function is only for two players have the same rank's cards.
% make two dictionaries for both players' cards' number (where A is 14)
valueSet1 = [0,0,0,0,0,0,0,0
function win = winner(card1,card2)
% this function will check the winner between player1 with card1 and player2
% if player1 wins, then return 1 and if player2 wins, then return 2 and
% they get the same hand_cards, then return 0 for tie.