once again, the book claims this was modified to use (equal? ...), when it never did any such thing;
added another test case;
updated index;