Now works, class FictitiousPlay defined with generator