Wrapper over g++ to compile and run cpp files