simple Leitner program with Java