first commit for jacobi-algorithm code