Pure Julia implementation of the simplex algorithm