1, card_color() is corrected;
2. Challenge functions are implemented;
3. Minor reformatting;