Introduction to Information Retrieval. Homework 3