std::generate Tutorial and example

In this article we will see how to use std::generate and std::generate_n with STL sequential containers.