Basic stationary iterative solvers for sparse matrix systems in python