Compiler now compiles if and foreach statements,