added a function to JokeGenerator for generating random jokes