Basic stationary iterative solvers for python