Program 5 has been changed slightly. You should implement only
the original SGS algorithm, i.e., without any two sided precondtioner.
As described, the code, just like the others, should have a replaceable matrix-vector product that allows the symmetric or a dense nonsymmetric matrix.