('Move disk 1 from peg', ' A', ' to peg', 'B')
('Move disk', 2, ' from peg', ' A', ' to peg', 'C')
('Move disk 1 from peg', 'B', ' to peg', 'C')
('Move disk', 3, ' from peg', ' A', ' to peg', 'B')
('Move disk 1 from peg', 'C', ' to peg', ' A')
('Move disk', 2, ' from peg', 'C', ' to peg', 'B')
('Move disk 1 from peg', ' A', ' to peg', 'B')