adds solution for ex14 - Jacobi method