First working yield implementation
Cleaning up debugging and adding comments