seriously we need to have consistent styles between all of us. we should use NORMAL tabs (8 spaces) for comaptibility with all editors. if and for are not functions, they are keywoards. you need to do 'if (cond)' for the same reason you do 'return (cond)'. also there should be spaces on both sides of operators and }else{ should be split up into new lines--this is all for easier readability. i created main.cpp a long time ago to give an example of style. if we need to ALL have consistent style in order to pass this class then we should be doing it the CORRECT way. sorry if this seems picky, i just know this is a requirement and if we all write the same way i won't need to update it later...
set flags correctly
adding underscore to make sure MAP_H macro never used elsewhere by accident. also to follow how unit.h is layed out