learning examples for java AI