Added boolMap class.
Modified boolMap.