[++] finalized exercise 2 - book library