* removed unused code
* implemented shutdown from main menu
* refactoring
* implemented HopCount