Updated docs

Deprecated current `foreach` syntax
Clarified how to use conditional and iterative statements (closes #194)