Simplex algorithm implementation in different languages