A Linear Space Algorithm for Computing the Hermite Normal Form