implement the pair cards and add trigle cards case