The objective is to return the state (slot no.) of all disks after each move. The larger disk is listed first.
Note: The state of each disk is its tower no.
Course: Discrete Maths and Algorithms, Monsoon 2019
Taught by: Prof. Bapi Raju S.
; (toh ldisk to)
> (toh '(1 1) 3)
'((1 2)
(3 2)
(3 3))