Employee Problem Using Generators