Finished the card_compare functions

In card.cpp, both are untested. Still need to do card_init