Recursive solution to tower of Hanoi Problem