MHD simulations of cool core clusters