Changed file extensions to .cpp