Additional content from exercises.
Fixed off-by-one underflow error