Corrected exercise 2.1 not to use the auxiliary buffer.