Tidied up Card.cpp

Used predefined functions instead of ugly stuff