Added the implementation of Jacobi and SOR