Function to show the movement of disks
void moveDisk ( char fromPeg , char toPeg , int disk ) { System . out . println ( " Move ▁ the ▁ disk ▁ " + disk + " ▁ from ▁ " + fromPeg + " ▁ to ▁ " + toPeg ) ; }