Removed a WIN-based function for portability

- Removed system("pause")