hanoi project for Artificial Intelligence class