Added the setOutputOverride method

Redirects sysout and syserr messages to the console.