Update and rename function1 to function1.cpp