Renamed include guards
changed flag variable to unsigned int