I want to move a box from point A to B then from point B to C.
I wrote an animation function move (with SetInterval) which takes as parameters the id of the html elem