Added a loop to allow the user to enter input multiple times without re-running the program.