implementing checking all cards for sets