Write the function build-author-index that consumes a(listof Book) and a list of unique authors (Strings). The function produces an AuthorIndex where the keys are the authors consumed (in the same order) and the values are the titles of all books by that author in the list of Book (also in the same order).
The following is my code. I have to use Beginning Student with List Abbreviations. I am only allowed to use cons, first, second, third, rest, empty?, eq? cons?, list, member?, and length.
posting an image of my code since stack overflow does not allow me to