Solving the Tower of Hanoi puzzle using recursion

TOH

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /export/depts/fas/maths/stor-i/student-sites/wp-includes/kses.php on line 1955