Simulation of the formation of the Milky Way galaxy