this py file show the usage of generator