Trivia kata in Java for my book Taming the Bad Code