Informaiton Retrieval and Applications homework