towers of hanoi program written in c