Rename ex2.c to ex2.cpp