Simulations of shear-induced melting in two dimensions