Using composition and improvisation in the classroom