#6 Improve error handler in 'replace' function: entering wrong input will allow the user to try again; get rid of the InputMismatchException, i.e. use scanner.hasNextInt() to pre-validate instead