Java programs from school