Refactor Inverted Index class
Refactor Inverted Index class

Refactor properties and methods of Inverted Index class to comply with the provided interface.

andela-pessien/inverted-index,andela-pessien/inverted-index