Python code for the post Row Reduction over a Field.