Add towers of hanoi in Prolog.