starting yield generator
added base class and basic switch/goto implementation
yield: first test passing