UML and HanoiTowers class