A two‐dimensional particle simulation of the magnetopause current layer