Imitation Learning and its Application to Natural Language Generation