Modified class IndexWriter.

In the constructor we added a call to the MetaDataWriter's writeMetaData method , in order to create the file holding the metadata concerning the indexing.