Teaching to Learn: Sequential Teaching of Agents with Inner States