Fraud-score example in Java