A Terr algorithm for computations in the infrastructure of real-quadratic number fields