JS BubSort, TowerHanoi