Inverted Index with source code, input file, and expected output