Introduction to Programming in Java programs, exercises