add atomic_counter.h atomic_counter.cpp