Computer simulation of twinning dislocation in magnesium using a many-body potential