A Finite Volume Method for the 3D Lagrangian Ideal Compressible Magnetohydrodynamics