MHD Instabilities Arising in Solar Physics: A Numerical Approach