Program functions as intended with error catching. Updated headers to include author information.