Implemented AtomicBoolean class