Solves towers of hanoi using recursion and outputs a list. The program is extremely simple with this method.