javalab matrix task