adding basic example to learn yield(need python modules os and glob)