towers of hanoi using brute force algo