added es6 generators example