renamed the files that contain main() to main.cpp across all examples to promote consistency