Numerical Simulations of Interacting Galaxies: Bar Morphology