Added new snippets

Added a lot of snippets for loop creation and table functions