Revert "Removing system("pause")"

This reverts commit 5cb9277aa2bc49bf4f18a23a57c4c6369a8499d2.