Update and rename main.cpp to list.cpp