First lessons in Java