Snippets along the way

added snips to stata and tex. Enhencing coding fluency.