Almost finished dynamic number of disks.
Just a little error to solve.