Started the implementation of jacobi method