Finish Towers of Hanoi game that can be run using node.js