wget http://www.comp.nus.edu.sg/~gem1501/assignment08.html
Look with an editor at the file.
movetop(5,0,2,3);
movetop(5,0,1,3);
movetop(5,2,1,3);
How many moves are now made? Note that for changing the values
of rings and pegs, you have to edit the program at that place
where the initial values are assigned at "var rings = 6;"
and "var pegs = 3;".