New Graph With Smart Ptrs