Added loop for main program

program will loop until user chooses to end.