New file linked.cpp added