Added jacobi iteration function. Added grid print function. Added grid initilization