The famous spotify puzzle (Zipfsong) in Java