javalab task 2