Upon finding empty space, the program now prompts the user to end the program early.