Completed implementation of the Card Class