Algorithms1.Algorithm:Hanoi TowerMy code hanoi towerPermeation,Combination,Prime number controlMy code Permeation,Combination,Prime numbern to create a matrixMy code matrix