Added save function to Deck class and added Card cCard class.