Simplex Method Python Code For Games