A graphic implementation that solves the towers of hanoi puzzle