adding 'simple' generator functions for Go.
simple generator functions `yield`