Added quit command to end program and stop taking commands.