if, else, for, foreach formatting

Add space after if(, for(, foreach(, else{