added a little bit of error handling to my cleverbot class