Computer simulation of the skipping motion of a proton beam on the C(0001) surface