You really didn't need to code it, however, I highly suggest streamlining what you coded and renaming the nippleFlags to areolaFlags, and the hasFlag(), addFlag(), delFlag() and clearFlags() functions to hasAreolaFlag(), addAreolaFlag(), delAreolaFlag() and clearAreolaFlags()...