Modified create index. Now index is stored in parts and also containd word count for each document