(assq argument list) -> pair or #f
Takes each pair found in the list and checks to see if the car of the pair and object are eq?. Upon the first instance of finding "true", it exits the function and returns the pair where this was true.
If no true result is found for any pair, returns #f.
Examples:
>> (assq 2 '((1 "Hamlet") (2 "1984") (3 "A Christmas Carol"))) :: (3 "A Christmas Carol")
>>(assq 4 '((1 "Hamlet") (4 "1984") (4 "A Christmas Carol"))) :: (4 "1984")
because this is the first instance in the list. Later matches are not looked for.
>>(assq 5 '((1 "Hamlet") (2 "1984") (3 "A Christmas Carol"))) :: #f.