Hold Console Open

Added general code to the end of main() so that the console will be held open until the user presses "Enter."  This code was written and committed in the browser as a test of GitHub.com integration.