generate a posting list, project 2 final