Using a Physics-Informed Neural Network to solve the Ideal Magnetohydrodynamic Equations