lookup procedure

finds the keyword in index and then outputs the list of url's associated
to that keyword. The structure of the index is [keyword,[url,...],...]