added Andrea Crotti's snippets as a submodule