Coding Blocks IDE playing with cards

test case 2 and 3 wrong