adding implementation of the Card Class