Fixed problem with restart command - added new variable restartCounts for helping handle the restart counts and printing Good Bye message.