3D hydrodynamic simulations of carbon burning in massive stars