Fixed issue where stmts were getting parsed in a random order.
Consolidated tests and made relational operators non-associative.
Added comments.