Cleaned up example cpp files