add repeat parameter to the Snippet class and add a small description of this module.
fix ValueError exception raised if snippet_list is an empty iterable