Information Retrieval system (Python 2.7.5)