implemented optimization algorithmus in order to find the minimal number of required cards...