Put in simple inverted index, added implementation of each to Document