pass generator to twitter and implement basic api search that returns a random tweet