Molecular dynamics simulation of triple junction migration