Added Stack class to the knightsTour.js file.