My second program, Java