Create beads.cpp