output all cards for ai
replaced tostring with more appropriate c++ idiom