Create index.cpp