Implemented constructIndex and loadIndex for inverted index doconly. The construction is not memory bound and is done in parts