Implementation of the game Tower of Hanoi version 1, written in Java