Java Generator based on a revenue algorithm for my Bars and Beers Database