Information Retrieval algorithms and data structures in Python. Mostly in memory and using Dictionaries