Foreach and while work in the test grammar.

Also, math works just fine. Going to go for if/else if/else now.