Added pause before exit

Input required to exit program.