Learning General Policies From Examples