Create necklace.cpp