Simulation moving arm in 2D