Iterative technique os solving a system of linear equations